{  Statement: http://acmp.ru/?main=task&id_task=61
   Verdict: Accepted
}
uses
    SysUtils, Math;

var
    i,x,y,a,b:longint;

begin
reset(input,'input.txt');
rewrite(output,'output.txt');
a := 0;
b := 0;
for i:=1 to 4 do begin
    read(x,y);
    inc(a,x);
    inc(b,y);
end;
if a > b then write(1) else
if a < b then write(2) else write('DRAW');
end.